<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>core
	| burstjs - The Burstcoin Reference Library</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="robots" content="index, follow">
	<link rel="stylesheet" href="../assets/css/main.css">
	<link rel="stylesheet" href="../assets/css/custom.css">
</head>
<body>
<a href="https://github.com/burst-apps-team/phoenix/tree/master/lib" class="github-corner" aria-label="View source on GitHub">
	<svg width="80" height="80" viewBox="0 0 250 250"
	style="fill:rgba(3, 155, 229, 0.90); color:#fff; position: absolute; top: 0; border: 0; left: 0; z-index: 2; transform: scale(-1, 1);"
	aria-hidden="true">
	<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
	<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
	fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
	<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
	fill="currentColor" class="octo-body"></path>
	</svg>
</a>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="tsd-logo-wrapper">
				<a href="../index.html" class="title">
					<img id="tsd-burstjs-logo" alt="burstjs" src="../assets/images/burstjs.png">
				</a>
				<a href="https://www.npmjs.com/package/@burstjs/core">
					<img id="tsd-npm-badge" alt="npm"
					src="https://img.shields.io/npm/v/@burstjs/core.svg?style=for-the-badge">
				</a>
			</div>
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js"
				data-base="..">
				<div class="field">
					<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
					<input id="tsd-search-field" type="text"/>
				</div>
				<ul class="results">
					<li class="state loading">Preparing search index...</li>
					<li class="state failure">The search index is not available</li>
				</ul>
			</div>
			<div class="table-cell" id="tsd-widgets">
				<div id="tsd-filter">
					<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
					<div class="tsd-filter-group">
						<div class="tsd-select" id="tsd-filter-visibility">
							<span class="tsd-select-label">All</span>
							<ul class="tsd-select-list">
								<li data-value="public">Public</li>
								<li data-value="protected">Public/Protected</li>
								<li data-value="private" class="selected">All</li>
							</ul>
						</div>
						<input type="checkbox" id="tsd-filter-inherited" checked/>
						<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
						<input type="checkbox" id="tsd-filter-externals" checked/>
						<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
					</div>
				</div>
				<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
			</div>
		</div>
	</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="core.html">core</a>
				</li>
			</ul>
			<h1>External module core</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
				</div>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>External modules</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-external-module tsd-parent-kind-external-module"><a href="core.api.html" class="tsd-kind-icon">api</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Enumerations</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.apiversion.html" class="tsd-kind-icon">Api<wbr>Version</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactionarbitrarysubtype.html" class="tsd-kind-icon">Transaction<wbr>Arbitrary<wbr>Subtype</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactionassetsubtype.html" class="tsd-kind-icon">Transaction<wbr>Asset<wbr>Subtype</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactionescrowsubtype.html" class="tsd-kind-icon">Transaction<wbr>Escrow<wbr>Subtype</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactionleasingsubtype.html" class="tsd-kind-icon">Transaction<wbr>Leasing<wbr>Subtype</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactionmarketplacesubtype.html" class="tsd-kind-icon">Transaction<wbr>Marketplace<wbr>Subtype</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactionpaymentsubtype.html" class="tsd-kind-icon">Transaction<wbr>Payment<wbr>Subtype</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactionrewardrecipientsubtype.html" class="tsd-kind-icon">Transaction<wbr>Reward<wbr>Recipient<wbr>Subtype</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactionsmartcontractsubtype.html" class="tsd-kind-icon">Transaction<wbr>Smart<wbr>Contract<wbr>Subtype</a></li>
								<li class="tsd-kind-enum tsd-parent-kind-external-module"><a href="../enums/core.transactiontype.html" class="tsd-kind-icon">Transaction<wbr>Type</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Classes</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/core.account.html" class="tsd-kind-icon">Account</a></li>
								<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/core.attachment.html" class="tsd-kind-icon">Attachment</a></li>
								<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/core.attachmentencryptedmessage.html" class="tsd-kind-icon">Attachment<wbr>Encrypted<wbr>Message</a></li>
								<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/core.attachmentmessage.html" class="tsd-kind-icon">Attachment<wbr>Message</a></li>
								<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/core.burstnode.html" class="tsd-kind-icon">Burst<wbr>Node</a></li>
								<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/core.burstservice.html" class="tsd-kind-icon">Burst<wbr>Service</a></li>
								<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/core.contracthelper.html" class="tsd-kind-icon">Contract<wbr>Helper</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Interfaces</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.alias.html" class="tsd-kind-icon">Alias</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.aliaslist.html" class="tsd-kind-icon">Alias<wbr>List</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.asset.html" class="tsd-kind-icon">Asset</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.assetbalance.html" class="tsd-kind-icon">Asset<wbr>Balance</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.assetlist.html" class="tsd-kind-icon">Asset<wbr>List</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.balance.html" class="tsd-kind-icon">Balance</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.block.html" class="tsd-kind-icon">Block</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.blockid.html" class="tsd-kind-icon">Block<wbr>Id</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.blockchainstatus.html" class="tsd-kind-icon">Blockchain<wbr>Status</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.burstservicesettings.html" class="tsd-kind-icon">Burst<wbr>Service<wbr>Settings</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.bursttime.html" class="tsd-kind-icon">Burst<wbr>Time</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.contract.html" class="tsd-kind-icon">Contract</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.contractidlist.html" class="tsd-kind-icon">Contract<wbr>IdList</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.contractlist.html" class="tsd-kind-icon">Contract<wbr>List</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.getaccounttransactionsargs.html" class="tsd-kind-icon">Get<wbr>Account<wbr>Transactions<wbr>Args</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.multioutrecipientamount.html" class="tsd-kind-icon">Multiout<wbr>Recipient<wbr>Amount</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.peer.html" class="tsd-kind-icon">Peer</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.peeraddresslist.html" class="tsd-kind-icon">Peer<wbr>Address<wbr>List</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.sendamountargs.html" class="tsd-kind-icon">Send<wbr>Amount<wbr>Args</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.sendencryptedmessageargs.html" class="tsd-kind-icon">Send<wbr>Encrypted<wbr>Message<wbr>Args</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.sendmessageargs.html" class="tsd-kind-icon">Send<wbr>Message<wbr>Args</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.serverstatus.html" class="tsd-kind-icon">Server<wbr>Status</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.suggestedfees.html" class="tsd-kind-icon">Suggested<wbr>Fees</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.transaction.html" class="tsd-kind-icon">Transaction</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.transactionid.html" class="tsd-kind-icon">Transaction<wbr>Id</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.transactionlist.html" class="tsd-kind-icon">Transaction<wbr>List</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.transactionresponse.html" class="tsd-kind-icon">Transaction<wbr>Response</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.unconfirmedassetbalance.html" class="tsd-kind-icon">Unconfirmed<wbr>Asset<wbr>Balance</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.unconfirmedtransactionlist.html" class="tsd-kind-icon">Unconfirmed<wbr>Transaction<wbr>List</a></li>
								<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/core.unsignedtransaction.html" class="tsd-kind-icon">Unsigned<wbr>Transaction</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Functions</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="core.html#getattachmentversion" class="tsd-kind-icon">get<wbr>Attachment<wbr>Version</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="core.html#getcontractdatablock" class="tsd-kind-icon">get<wbr>Contract<wbr>Datablock</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="core.html#getrecipientamountsfrommultioutpayment" class="tsd-kind-icon">get<wbr>Recipient<wbr>Amounts<wbr>From<wbr>Multi<wbr>Out<wbr>Payment</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="core.html#getrecipientsamount" class="tsd-kind-icon">get<wbr>Recipients<wbr>Amount</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="core.html#isattachmentversion" class="tsd-kind-icon">is<wbr>Attachment<wbr>Version</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="core.html#ismultioutsametransaction" class="tsd-kind-icon">is<wbr>Multi<wbr>Out<wbr>Same<wbr>Transaction</a></li>
								<li class="tsd-kind-function tsd-parent-kind-external-module"><a href="core.html#ismultiouttransaction" class="tsd-kind-icon">is<wbr>Multi<wbr>Out<wbr>Transaction</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Functions</h2>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getattachmentversion" class="tsd-anchor"></a>
					<h3>get<wbr>Attachment<wbr>Version</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Attachment<wbr>Version<span class="tsd-signature-symbol">(</span>transaction<span class="tsd-signature-symbol">: </span><a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/burst-apps-team/phoenix/blob/a7e7857/lib/packages/core/src/attachment/getAttachmentVersion.ts#L13">core/src/attachment/getAttachmentVersion.ts:13</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Get the transaction attachment version identifier</p>
								</div>
								<p>Attachment types are identified by a field <em>version.<Identifier></em></p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>transaction: <a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>The transaction to be checked</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>return <em>Identifier</em>, if exists, otherwise <code>undefined</code></p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getcontractdatablock" class="tsd-anchor"></a>
					<h3>get<wbr>Contract<wbr>Datablock</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Contract<wbr>Datablock<span class="tsd-signature-symbol">(</span>contract<span class="tsd-signature-symbol">: </span><a href="../interfaces/core.contract.html" class="tsd-signature-type">Contract</a>, position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, length<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/burst-apps-team/phoenix/blob/a7e7857/lib/packages/core/src/contract/getContractDatablock.ts#L18">core/src/contract/getContractDatablock.ts:18</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Extracts a variables value as hexadecimal string from a contract&#39;s machine data</p>
								</div>
								<p>This is a generic function to extract arbitrary data from a contract. I&#39;s recommended to use the <a href="../classes/core.contracthelper.html">ContractHelper</a> class instead</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>contract: <a href="../interfaces/core.contract.html" class="tsd-signature-type">Contract</a></h5>
								</li>
								<li>
									<h5>position: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The variables position</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> length: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;16</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The length of data to be extracted</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>The value as hexadecimal string (already considering endianness)</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getrecipientamountsfrommultioutpayment" class="tsd-anchor"></a>
					<h3>get<wbr>Recipient<wbr>Amounts<wbr>From<wbr>Multi<wbr>Out<wbr>Payment</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Recipient<wbr>Amounts<wbr>From<wbr>Multi<wbr>Out<wbr>Payment<span class="tsd-signature-symbol">(</span>transaction<span class="tsd-signature-symbol">: </span><a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/core.multioutrecipientamount.html" class="tsd-signature-type">MultioutRecipientAmount</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/burst-apps-team/phoenix/blob/a7e7857/lib/packages/core/src/transaction/getRecipientAmountsFromMultiOutPayment.ts#L14">core/src/transaction/getRecipientAmountsFromMultiOutPayment.ts:14</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Tries to extract recipients and its amounts for multi out payments (different and same amount)</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>throws</dt>
									<dd><p>An exception in case of wrong transaction types</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>transaction: <a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>The transaction</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/core.multioutrecipientamount.html" class="tsd-signature-type">MultioutRecipientAmount</a><span class="tsd-signature-symbol">&gt;</span></h4>
							<p>A list of recipients and their payed amount (in NQT)</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="getrecipientsamount" class="tsd-anchor"></a>
					<h3>get<wbr>Recipients<wbr>Amount</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Recipients<wbr>Amount<span class="tsd-signature-symbol">(</span>recipientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, transaction<span class="tsd-signature-symbol">: </span><a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/burst-apps-team/phoenix/blob/a7e7857/lib/packages/core/src/transaction/getRecipientsAmount.ts#L15">core/src/transaction/getRecipientsAmount.ts:15</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Gets the amount from a transaction, considering ordinary and multi out transactions (with same and different payments)</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>recipientId: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The numeric id of the recipient</p>
									</div>
								</li>
								<li>
									<h5>transaction: <a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>The payment transaction</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>the amount in BURST (not NQT)</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="isattachmentversion" class="tsd-anchor"></a>
					<h3>is<wbr>Attachment<wbr>Version</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Attachment<wbr>Version<span class="tsd-signature-symbol">(</span>transaction<span class="tsd-signature-symbol">: </span><a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a>, versionIdentifier<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/burst-apps-team/phoenix/blob/a7e7857/lib/packages/core/src/attachment/isAttachmentVersion.ts#L11">core/src/attachment/isAttachmentVersion.ts:11</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Checks if a transaction attachment is of specific version</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>transaction: <a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>The transaction to be checked</p>
									</div>
								</li>
								<li>
									<h5>versionIdentifier: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The version string, i.e. MultiOutCreation</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p><em>true</em>, if version string matches</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="ismultioutsametransaction" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagConst">Const</span> is<wbr>Multi<wbr>Out<wbr>Same<wbr>Transaction</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Multi<wbr>Out<wbr>Same<wbr>Transaction<span class="tsd-signature-symbol">(</span>transaction<span class="tsd-signature-symbol">: </span><a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/burst-apps-team/phoenix/blob/a7e7857/lib/packages/core/src/transaction/isMultiOutSameTransaction.ts#L11">core/src/transaction/isMultiOutSameTransaction.ts:11</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Checks if a transaction is a multi out transaction with same amounts for each recipient</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>transaction: <a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>Transaction to be checked</p>
										</div>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>true, if is a multi out transaction</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module">
					<a name="ismultiouttransaction" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagConst">Const</span> is<wbr>Multi<wbr>Out<wbr>Transaction</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Multi<wbr>Out<wbr>Transaction<span class="tsd-signature-symbol">(</span>transaction<span class="tsd-signature-symbol">: </span><a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/burst-apps-team/phoenix/blob/a7e7857/lib/packages/core/src/transaction/isMultiOutTransaction.ts#L11">core/src/transaction/isMultiOutTransaction.ts:11</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Checks if a transaction is a multi out transaction (with different amounts)</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>transaction: <a href="../interfaces/core.transaction.html" class="tsd-signature-type">Transaction</a></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>Transaction to be checked</p>
										</div>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>true, if is a multi out transaction</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-external-module">
						<a href="core.html">core</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="crypto.html">crypto</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="http.html">http</a>
					</li>
					<li class=" tsd-kind-external-module">
						<a href="util.html">util</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.apiversion.html" class="tsd-kind-icon">Api<wbr>Version</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactionarbitrarysubtype.html" class="tsd-kind-icon">Transaction<wbr>Arbitrary<wbr>Subtype</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactionassetsubtype.html" class="tsd-kind-icon">Transaction<wbr>Asset<wbr>Subtype</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactionescrowsubtype.html" class="tsd-kind-icon">Transaction<wbr>Escrow<wbr>Subtype</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactionleasingsubtype.html" class="tsd-kind-icon">Transaction<wbr>Leasing<wbr>Subtype</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactionmarketplacesubtype.html" class="tsd-kind-icon">Transaction<wbr>Marketplace<wbr>Subtype</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactionpaymentsubtype.html" class="tsd-kind-icon">Transaction<wbr>Payment<wbr>Subtype</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactionrewardrecipientsubtype.html" class="tsd-kind-icon">Transaction<wbr>Reward<wbr>Recipient<wbr>Subtype</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactionsmartcontractsubtype.html" class="tsd-kind-icon">Transaction<wbr>Smart<wbr>Contract<wbr>Subtype</a>
					</li>
					<li class=" tsd-kind-enum tsd-parent-kind-external-module">
						<a href="../enums/core.transactiontype.html" class="tsd-kind-icon">Transaction<wbr>Type</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-external-module">
						<a href="../classes/core.account.html" class="tsd-kind-icon">Account</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-external-module">
						<a href="../classes/core.attachment.html" class="tsd-kind-icon">Attachment</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-external-module">
						<a href="../classes/core.attachmentencryptedmessage.html" class="tsd-kind-icon">Attachment<wbr>Encrypted<wbr>Message</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-external-module">
						<a href="../classes/core.attachmentmessage.html" class="tsd-kind-icon">Attachment<wbr>Message</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-external-module">
						<a href="../classes/core.burstnode.html" class="tsd-kind-icon">Burst<wbr>Node</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-external-module">
						<a href="../classes/core.burstservice.html" class="tsd-kind-icon">Burst<wbr>Service</a>
					</li>
					<li class=" tsd-kind-class tsd-parent-kind-external-module">
						<a href="../classes/core.contracthelper.html" class="tsd-kind-icon">Contract<wbr>Helper</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.alias.html" class="tsd-kind-icon">Alias</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.aliaslist.html" class="tsd-kind-icon">Alias<wbr>List</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.asset.html" class="tsd-kind-icon">Asset</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.assetbalance.html" class="tsd-kind-icon">Asset<wbr>Balance</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.assetlist.html" class="tsd-kind-icon">Asset<wbr>List</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.balance.html" class="tsd-kind-icon">Balance</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.block.html" class="tsd-kind-icon">Block</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.blockid.html" class="tsd-kind-icon">Block<wbr>Id</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.blockchainstatus.html" class="tsd-kind-icon">Blockchain<wbr>Status</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.burstservicesettings.html" class="tsd-kind-icon">Burst<wbr>Service<wbr>Settings</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.bursttime.html" class="tsd-kind-icon">Burst<wbr>Time</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.contract.html" class="tsd-kind-icon">Contract</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.contractidlist.html" class="tsd-kind-icon">Contract<wbr>IdList</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.contractlist.html" class="tsd-kind-icon">Contract<wbr>List</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.getaccounttransactionsargs.html" class="tsd-kind-icon">Get<wbr>Account<wbr>Transactions<wbr>Args</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.multioutrecipientamount.html" class="tsd-kind-icon">Multiout<wbr>Recipient<wbr>Amount</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.peer.html" class="tsd-kind-icon">Peer</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.peeraddresslist.html" class="tsd-kind-icon">Peer<wbr>Address<wbr>List</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.sendamountargs.html" class="tsd-kind-icon">Send<wbr>Amount<wbr>Args</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.sendencryptedmessageargs.html" class="tsd-kind-icon">Send<wbr>Encrypted<wbr>Message<wbr>Args</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.sendmessageargs.html" class="tsd-kind-icon">Send<wbr>Message<wbr>Args</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.serverstatus.html" class="tsd-kind-icon">Server<wbr>Status</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.suggestedfees.html" class="tsd-kind-icon">Suggested<wbr>Fees</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.transaction.html" class="tsd-kind-icon">Transaction</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.transactionid.html" class="tsd-kind-icon">Transaction<wbr>Id</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.transactionlist.html" class="tsd-kind-icon">Transaction<wbr>List</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.transactionresponse.html" class="tsd-kind-icon">Transaction<wbr>Response</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.unconfirmedassetbalance.html" class="tsd-kind-icon">Unconfirmed<wbr>Asset<wbr>Balance</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.unconfirmedtransactionlist.html" class="tsd-kind-icon">Unconfirmed<wbr>Transaction<wbr>List</a>
					</li>
					<li class=" tsd-kind-interface tsd-parent-kind-external-module">
						<a href="../interfaces/core.unsignedtransaction.html" class="tsd-kind-icon">Unsigned<wbr>Transaction</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="core.html#getattachmentversion" class="tsd-kind-icon">get<wbr>Attachment<wbr>Version</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="core.html#getcontractdatablock" class="tsd-kind-icon">get<wbr>Contract<wbr>Datablock</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="core.html#getrecipientamountsfrommultioutpayment" class="tsd-kind-icon">get<wbr>Recipient<wbr>Amounts<wbr>From<wbr>Multi<wbr>Out<wbr>Payment</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="core.html#getrecipientsamount" class="tsd-kind-icon">get<wbr>Recipients<wbr>Amount</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="core.html#isattachmentversion" class="tsd-kind-icon">is<wbr>Attachment<wbr>Version</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="core.html#ismultioutsametransaction" class="tsd-kind-icon">is<wbr>Multi<wbr>Out<wbr>Same<wbr>Transaction</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-external-module">
						<a href="core.html#ismultiouttransaction" class="tsd-kind-icon">is<wbr>Multi<wbr>Out<wbr>Transaction</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>